export default {
  column: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [10,10,0,3],
    enableScroll: false,
    enableMarkLine: true,
    legend: {},
    xAxis: {
      disableGrid: true
    },
    yAxis: {
      data: [{
        min: 0
      }]
    },
    extra: {
      column: {
        type: "group",
        width: 10,
        activeBgColor: "#000000",
        activeBgOpacity: 0.08,
        seriesGap: 2,
        barBorderRadius: [3,3,0,0]
      },
      markLine: {
        data: [{
          value: 21,
          showLabel: true
        }]
      }
    }
  },
  mount: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [15,15,0,5],
    enableScroll: false,
    legend: {},
    xAxis: {
      disableGrid: true
    },
    yAxis: {
      data: [
        {
          min: 0
        }
      ]
    },
    extra: {
      mount: {
        type: "bar",
        widthRatio: 0.3,
        borderWidth: 0,
        barBorderRadius: [
          50,
          50,
          50,
          50
        ],
        linearType: "custom"
      }
    }
  },
  bar: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [15,30,0,5],
    enableScroll: false,
    legend: {},
    xAxis: {
      boundaryGap: "justify",
      disableGrid: false,
      min: 0,
      axisLine: false,
      max: 40
    },
    yAxis: {},
    extra: {
      bar: {
        type: "group",
        width: 30,
        meterBorde: 1,
        meterFillColor: "#FFFFFF",
        activeBgColor: "#000000",
        activeBgOpacity: 0.08,
        linearType: "custom",
        barBorderCircle: true,
        seriesGap: 2,
        categoryGap: 2
      }
    }
  },
  tline: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [15,10,0,15],
    enableScroll: false,
    legend: {},
    xAxis: {
      disableGrid: false,
      boundaryGap: "justify"
    },
    yAxis: {
      gridType: "dash",
      dashLength: 2,
      data: [
        {
          min: 0,
          max: 80
        }
      ]
    },
    extra: {
      line: {
        type: "curve",
        width: 2,
        activeType: "hollow"
      }
    }
  },
  tarea: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [15,10,0,15],
    enableScroll: false,
    legend: {},
    xAxis: {
      disableGrid: true,
      boundaryGap: "justify",
      format: "xAxisDemo2"
    },
    yAxis: {
      gridType: "dash",
      dashLength: 2,
      data: [
        {
          min: 0,
          max: 80
        }
      ]
    },
    extra: {
      area: {
        type: "curve",
        opacity: 0.2,
        addLine: true,
        width: 2,
        gradient: true,
        activeType: "hollow"
      }
    }
  },
  scatter: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [15,15,0,15],
    dataLabel: false,
    enableScroll: false,
    legend: {},
    xAxis: {
      disableGrid: false,
      gridType: "dash",
      splitNumber: 5,
      boundaryGap: "justify",
      min: 0
    },
    yAxis: {
      disableGrid: false,
      gridType: "dash"
    },
    extra: {
      scatter: {}
    }
  },
  bubble: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [15,15,0,15],
    enableScroll: false,
    legend: {},
    xAxis: {
      disableGrid: false,
      gridType: "dash",
      splitNumber: 5,
      boundaryGap: "justify",
      min: 0,
      max: 250
    },
    yAxis: {
      disableGrid: false,
      gridType: "dash",
      data: [
        {
          min: 0,
          max: 150
        }
      ]
    },
    extra: {
      bubble: {
        border: 2,
        opacity: 0.5
      }
    }
  },
  mix: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [15,15,0,15],
    enableScroll: false,
    legend: {},
    xAxis: {
      disableGrid: true,
      title: "单位：年"
    },
    yAxis: {
      disabled: false,
      disableGrid: false,
      splitNumber: 5,
      gridType: "dash",
      dashLength: 4,
      gridColor: "#CCCCCC",
      padding: 10,
      showTitle: true,
      data: [
        {
          position: "left",
          title: "折线"
        },
        {
          position: "right",
          min: 0,
          max: 200,
          title: "柱状图",
          textAlign: "left"
        },
        {
          position: "right",
          min: 0,
          max: 200,
          title: "点",
          textAlign: "left"
        }
      ]
    },
    extra: {
      mix: {
        column: {
          width: 20
        }
      }
    }
  },
  pie: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [5,5,5,5],
    enableScroll: false,
    extra: {
      pie: {
        activeOpacity: 0.5,
        activeRadius: 10,
        offsetAngle: 0,
        labelWidth: 15,
        border: true,
        borderWidth: 3,
        borderColor: "#FFFFFF"
      }
    }
  },
  ring: {
    rotate: false,
    rotateLock: false,
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [5,5,5,5],
    dataLabel: true,
    enableScroll: false,
    legend: {
      show: true,
      position: "right",
      lineHeight: 25
    },
    title: {
      name: "收益率",
      fontSize: 15,
      color: "#666666"
    },
    subtitle: {
      name: "70%",
      fontSize: 25,
      color: "#7cb5ec"
    },
    extra: {
      ring: {
        ringWidth: 60,
        activeOpacity: 0.5,
        activeRadius: 10,
        offsetAngle: 0,
        labelWidth: 15,
        border: true,
        borderWidth: 3,
        borderColor: "#FFFFFF"
      }
    }
  },
  rose: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [5,5,5,5],
    enableScroll: false,
    legend: {
      show: true,
      position: "left",
      lineHeight: 25
    },
    extra: {
      rose: {
        type: "area",
        minRadius: 50,
        activeOpacity: 0.5,
        activeRadius: 10,
        offsetAngle: 0,
        labelWidth: 15,
        border: false,
        borderWidth: 2,
        borderColor: "#FFFFFF"
      }
    }
  },
  radar: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [5,5,5,5],
    dataLabel: false,
    enableScroll: false,
    legend: {
      show: true,
      position: "right",
      lineHeight: 25
    },
    extra: {
      radar: {
        gridType: "circle",
        gridColor: "#CCCCCC",
        gridCount: 3,
        opacity: 0.2,
        max: 200,
        labelShow: true
      }
    }
  },
  arcbar: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: undefined,
    title: {
      name: "指标",
      fontSize: 35,
      color: "#1890ff"
    },
    subtitle: {
      name: "默认标题",
      fontSize: 15,
      color: "#666666"
    },
    extra: {
      arcbar: {
        type: "circle",
        width: 12,
        backgroundColor: "#E9E9E9",
        startAngle: 1.5,
        endAngle: 0.25,
        gap: 2,
        direction: "ccw"
      }
    }
  },
  gauge: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: undefined,
    title: {
      name: "66Km/H",
      fontSize: 25,
      color: "#2fc25b",
      offsetY: 0
    },
    subtitle: {
      name: "实时速度",
      fontSize: 15,
      color: "#1890ff",
      offsetY: 0
    },
    extra: {
      gauge: {
        type: "progress",
        width: 20,
        labelColor: "#666666",
        startAngle: 0.75,
        endAngle: 0.25,
        startNumber: 0,
        endNumber: 100,
        labelFormat: "",
        splitLine: {
          fixRadius: -10,
          splitNumber: 10,
          width: 15,
          color: "#FFFFFF",
          childNumber: 5,
          childWidth: 12
        },
        pointer: {
          width: 24,
          color: "auto"
        }
      }
    }
  },
  funnel: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [15,15,0,15],
    enableScroll: false,
    extra: {
      funnel: {
        activeOpacity: 0.3,
        activeWidth: 10,
        border: true,
        borderWidth: 2,
        borderColor: "#FFFFFF",
        fillOpacity: 1,
        labelAlign: "left",
        type: "pyramid"
      }
    }
  },
  word: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: undefined,
    enableScroll: false,
    extra: {
      word: {
        type: "vertical",
        autoColors: false
      }
    }
  },
  candle: {
    rotate: false,
    rotateLock: false,
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [15,15,0,15],
    dataLabel: false,
    enableScroll: true,
    enableMarkLine: true,
    legend: {},
    xAxis: {
      labelCount: 4,
      itemCount: 40,
      disableGrid: true,
      gridColor: "#CCCCCC",
      gridType: "solid",
      dashLength: 4,
      scrollShow: true,
      scrollAlign: "left",
      scrollColor: "#A6A6A6",
      scrollBackgroundColor: "#EFEBEF"
    },
    yAxis: {},
    extra: {
      candle: {
        color: {
          upLine: "#f04864",
          upFill: "#f04864",
          downLine: "#2fc25b",
          downFill: "#2fc25b"
        },
        average: {
          show: true,
          name: [
            "MA5",
            "MA10",
            "MA30"
          ],
          day: [
            5,
            10,
            20
          ],
          color: [
            "#1890ff",
            "#2fc25b",
            "#facc14"
          ]
        }
      },
      markLine: {
        type: "dash",
        dashLength: 5,
        data: [
          {
            value: 2150,
            lineColor: "#f04864",
            showLabel: true
          },
          {
            value: 2350,
            lineColor: "#f04864",
            showLabel: true
          }
        ]
      },
      tooltip: {
        showCategory: true
      }
    }
  },
  map: {
    color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
    padding: [0,0,0,0],
    dataLabel: true,
    enableScroll: false,
    extra: {
      map: {
        border: true,
        borderWidth: 1,
        borderColor: "#666666",
        fillOpacity: 0.6,
        activeBorderColor: "#F04864",
        activeFillColor: "#FACC14",
        activeFillOpacity: 1
      }
    }
  }
}
